
#include <cstdio>
#include <BMap>

#include <BMainWindow>
#include <BApplication>

#include "MainWindow.h"

using namespace BWE;

int main(int argc, char** argv)
{
	BMap<int, int> maps;
	maps.insert(9, 9);
	maps.insert(3, 3);
	maps.insert(1, 1);
	maps.insert(2, 2);
	maps.insert(8, 8);
	maps.insert(5, 5);
	maps.insert(7, 7);
	maps.insert(6, 6);
	maps.insert(4, 4);
	maps.clear();
	for (auto it = maps.begin(); it != maps.end(); it++)
	{
		printf("%d\t%d\n", it.key(), it.value());
	}

	BApplication app;

	BFont* font = new BFont("DejaVuSerif");

	MainWindow window;
	window.setFont(font);
	window.setSize(1000, 680);
	window.show();

	return app.execute();
}
